using UnityEngine;

namespace Exploder.Demo
{
	public class ThrowObject : MonoBehaviour
	{
		private float destroyTimer;

		private void Start()
		{
			destroyTimer = 10f;
		}

		private void Update()
		{
			destroyTimer -= Time.deltaTime;
			if (destroyTimer < 0f)
			{
				UnityEngine.Object.Destroy(base.gameObject);
			}
		}
	}
}
